package Task26;

import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNext()){
            int n = scanner.nextInt();
            System.out.println(jumpFloorII(n));
        }
    }
    public static int jumpFloorII (int number) {
        return (int)Math.pow(2,number - 1);
    }

}
